package cn.ffcs.unm.position.manager.impl;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import cn.ffcs.unm.position.dao.PositionDelDao;
import cn.ffcs.unm.position.manager.PositionDelManager;
import cn.ffcs.unm.position.model.PositionSequence;
import cn.ffcs.unm.position.model.PostBasicInformation;
import cn.ffcs.uom.common.vo.PageInfo;

@Service("positionDelManager")
@Scope("prototype")
public class PositionDelManagerImpl implements PositionDelManager {

	@Resource
	private PositionDelDao positionDelDao;

	@Override
	public PageInfo queryPageInfoByPositionSequence(
			PositionSequence positionSequence, int currentPage, int pageSize) {
		return positionDelDao.queryPageInfoByPositionSequence(positionSequence,
				currentPage, pageSize);
	}

	@Override
	public PageInfo queryPageInfoByPostBasicInformation(
			PostBasicInformation postBasicInformation, int currentPage,
			int pageSize) {
		return positionDelDao.queryPageInfoByPostBasicInformation(
				postBasicInformation, currentPage, pageSize);
	}

}
